package com.zhiwei.codesecurity.web.api.user.request;

import com.zhiwei.codesecurity.common.base.BaseEntity;
import javax.validation.constraints.NotNull;

public class LoginReq extends BaseEntity {
    private static final long serialVersionUID = -2645247549964519272L;

    @NotNull(message = "用户名或密码不能为空")
    private String userAccount;

    @NotNull(message = "用户名或密码不能为空")
    private String passWord;

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
}
